##
## $Id: Makefile.am,v 1.20 2006/07/11 04:50:25 ralf Exp $
##

MANAGERS = all

rtems_tests_PROGRAMS = psxchroot01.exe
psxchroot01_exe_SOURCES = main.c test.c ../include/pmacros.h

dist_rtems_tests_DATA = psxchroot01.scn

include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../automake/compile.am
include $(top_srcdir)/../automake/leaf.am

psxchroot01_exe_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)

AM_CPPFLAGS += -I$(top_srcdir)/include
AM_CPPFLAGS += -I$(top_srcdir)/../support/include

LINK_OBJS = $(psxchroot01_exe_OBJECTS) $(psxchroot01_exe_LDADD)
LINK_LIBS = $(psxchroot01_exe_LDLIBS)

psxchroot01.exe$(EXEEXT): $(psxchroot01_exe_OBJECTS) $(psxchroot01_exe_DEPENDENCIES)
	@rm -f psxchroot01.exe$(EXEEXT)
	$(make-exe)

include $(top_srcdir)/../automake/local.am
